package grape.wx.rest.mp.reply.mapper;

import grape.wx.service.mp.reply.po.MpMsgReply;
import grape.common.rest.mvc.WebMapper;
import org.mapstruct.Mapper;
import grape.wx.rest.mp.reply.form.MpMsgReplyCreateForm;
import grape.wx.rest.mp.reply.form.MpMsgReplyUpdateForm;
import grape.wx.rest.mp.reply.form.MpMsgReplyListPageForm;
import grape.wx.rest.mp.reply.vo.MpMsgReplyVo;
import org.mapstruct.ReportingPolicy;
/**
 * <p>
 * 公众号消息回复表 前端领域模型映射
 * </p>
 *
 * @author yangwei
 * @since 2020-07-23
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface MpMsgReplyWebMapper extends WebMapper<MpMsgReplyVo, MpMsgReply> {

    MpMsgReply formToPo(MpMsgReplyCreateForm f);
    MpMsgReply formToPo(MpMsgReplyUpdateForm f);
    MpMsgReply formToPo(MpMsgReplyListPageForm f);
}
